#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr[10] = { 15,45,23,95,84,23,12,33,55,48 };
	int i = 0;
	
	for (i = 0; i < 9; i++)
	{
		int j = 0;

		for (j = 0; j < 9 - i; j++)
		{
			if (arr[j] > arr[j + 1])
			{
				int tmp = arr[j];
				arr[j] = arr[j + 1];
				arr[j + 1] = tmp;
			}
		}
	}
	for (int k = 0; k < 10; k++)
	{
		printf("%d ", arr[k]);
	}
	return 0;
}